from  rest_framework import serializers
from login import models
class UserSer(serializers.ModelSerializer):

    class Meta:
        fields='__all__'
        model=models.UserMode